package com.micro.service.impl;

import com.micro.dao.ProductDAO;
import com.micro.model.Product;
import com.micro.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ProductServiceImpl implements ProductService {

	@Autowired
	private ProductDAO productDAO;

	@Override
	public List<Product> queryProductPlanByDay(Product product) {
		return productDAO.queryProductPlanByDay(product);
	}

	@Override
	public List<Product> queryDelayProductPlanByDay(Product product) {
		return productDAO.queryDelayProductPlanByDay(product);
	}
}
